using System;
using System.Collections.Generic;
using Wolfpack.Periscope.Core.Interfaces.Entities;

namespace Wolfpack.Periscope.Core.Interfaces.Messages
{
    public class PanelResponse
    {
        // same for each panel across all instances
        public Guid Id { get; set; }
        // different for every instance
        public Guid InstanceId { get; set; }
        public string Name { get; set; }
        public int Sequence { get; set; }
        public int DwellInSeconds { get; set; }
        public IEnumerable<RenderedWidget> Widgets { get; set; }
        public List<Property> StyleSheets { get; set; }
        public List<Property> Scripts { get; set; }
        public Guid Version { get; set; }

        public PanelResponse()
        {
            InstanceId = Guid.NewGuid();
        }
    }
}